import { Backdrop, CircularProgress } from '@mui/material';


function Loading(props){

  return<>
    <Backdrop
      sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1000 }}
      open={props?.open}
    >
      <CircularProgress color="inherit" />
    </Backdrop>
  </>
}


export default Loading